import MarkdownParserLine from './markdown_parse_line'
import MarkdownRender from './render';
const markdownRender = new MarkdownRender();
export default function md2html (md) {
    const nodeResult = new MarkdownParserLine().parse(md);
    console.log('nodeResult', nodeResult)
    const html = markdownRender.render(nodeResult);
    console.log('html', html);
    return html;
}
